# -*- mode: snippet -*-
# name: function
# key: function.
# --
function[${1:y}] = ${2:`(file-name-sans-extension (buffer-name))`}(${3:x})
    $0
end % function